package cn.hoichun.news.Mapper;

import cn.hoichun.news.Domain.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Hoichun
 */
@Mapper
public interface UserMapper {
    /**
     * @return 查找所有用户
     */
    List<User> findAll();

    User findById(int id);
}